﻿using System;
using UnityEngine.EventSystems;

namespace UnityEngine.UI
{
	// Token: 0x02000671 RID: 1649
	public class SelectUI : MonoBehaviour, IEventSystemHandler, IPointerEnterHandler, IPointerExitHandler
	{
		// Token: 0x1700041A RID: 1050
		// (get) Token: 0x06002707 RID: 9991 RVA: 0x0014A4E8 File Offset: 0x001486E8
		public bool IsSelect
		{
			get
			{
				return this.isSelect;
			}
		}

		// Token: 0x06002708 RID: 9992 RVA: 0x0014A4F0 File Offset: 0x001486F0
		public void OnPointerEnter(PointerEventData eventData)
		{
			this.isSelect = true;
		}

		// Token: 0x06002709 RID: 9993 RVA: 0x0014A4FC File Offset: 0x001486FC
		public void OnPointerExit(PointerEventData eventData)
		{
			this.isSelect = false;
		}

		// Token: 0x0600270A RID: 9994 RVA: 0x0014A508 File Offset: 0x00148708
		public virtual void OnDisable()
		{
			this.isSelect = false;
		}

		// Token: 0x04002DF9 RID: 11769
		[SerializeField]
		public bool isSelect;
	}
}
